<template>
    <div>
      <video-player :options="videoOptions" />
    </div>
  </template>
  
  <script>
  import VideoPlayer from './videoPlayer.vue';
  import 'video.js/dist/video-js.css'
  export default {
    name: 'VideoExample',
    components: {
      VideoPlayer
    },
    data() {
      return {
        videoOptions: {
          autoplay: true,
          controls: true,
          sources: [
            {
              src:'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8',
                type: 'video/mp4'
            }
          ]
        }
      };
    }
  };
  </script>